package com.smart.base.login.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.smart.base.login.entity.User;
import com.smart.base.login.mapper.UserMapper;
import com.smart.base.login.service.UserService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * UserService的实现类
 *
 * @author Arnold.zhao <a href="mailto:13949123615@163.com"/>
 * @create 2018-10-20 10:09
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Override
    public Integer selectCountSmart() {
        return baseMapper.selectCountSmart();
    }

    @Override
    public List<User> selectSum() {

        return baseMapper.selectSum();
    }

}
